package com.atao.baokede.mapper;

import com.atao.baokede.pojo.District;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface DistrictMapper {
    // 查询所有省份
    List<String> getAllProvinces();
    // 根据省名查询城市
    List<String> getCitiesByProvinceName(String provinceName);
    // 根据省名和市名查询区县
    List<String> getDistrictsByProvinceAndCityName(String provinceName, String cityName);
}